<?php
namespace Views\Widgets;
use Config\Base as Config;

/**
 * @author Evgeny Baranov <evgeny@baranov.eu>
 */
class Lang extends Base {

    protected $tmpl = 'lang.phtml';

    public function __construct() {
        parent::__construct();
        $this->setData('langs', Config::instance()->lang->list);
    }
}